package com.currentcms.shared.model;

public class DataProperty
{
	String name;

	public static final int TYPE_BOOLEAN = 0x00;
	public static final int TYPE_NUMBER = 0x10;
	public static final int TYPE_STRING = 0x20;
	public static final int TYPE_DATE = 0x30;
	public static final int TYPE_REFERENCE = 0x40;
	int type;
	String referenceType;
	
	boolean isArray;
	boolean isRequired;
	boolean isSystem;
	
	Object defaultValue;
	
	// role / can(not) browse, edit

	// in languages
	
	
	// match regexp
	// between range for num, date
	// length for string
	// format for string, num, date
}
